package com.sys.console.cookie;

public class Constant_Cookie {
	
	public static final String SESSION_COMPANY = "SESSION_COMPANY";

	/**
	 * 用户名或密码为空
	 */
	public static final String USERNAME_PASSWORD_BLANK = "USERNAME_PASSWORD_BLANK";
	
	/**
	 * 用户名或密码错误
	 */
	public static final String USERNAME_PASSWORD_ERROR = "USERNAME_PASSWORD_ERROR";

	/**
	 * cookiekey
	 */
	public static final String SAFE_KEY = "company_admin";

	/**
	 * cookie名称
	 */
	public static final String COMPANY_COOKIE = "COMPANY_COOKIE";
	
	/**
	 * cookie名称
	 */
	public static final String COMPANY_WEB_COOKIE = "COMPANY_WEB_COOKIE";

	/**
	 * 数据库前缀
	 */
	public static final String TABLE_NAME_PREFIX = null;

	/**
	 * session登录用户
	 */
	public static final String CURRENT_USER_SESSION = "CURRENT_USER_SESSION";
	
	/**
	 * session登录用户
	 */
	public static final String SESSION_WEB_LOGIN_USER = "SESSION_WEB_LOGIN_USER";

	/**
	 * 用户名为空
	 */
	public static final String USERNAME_BLANK = "USERNAME_BLANK";

	/**
	 * 密码不能为空
	 */
	public static final String PASSWORD_BLANK = "PASSWORD_BLANK";

	/**
	 * 邮箱格式不正确
	 */
	public static final String EMAIL_FORMAT_ERROR = "EMAIL_FORMAT_ERROR";

	/**
	 * 返回消息
	 */
	public static final String INFO = "info";

	/**
	 * 权限名称不能为空
	 */
	public static final String SYSTEMPRIVILEGE_NAME_BLANK = "SYSTEMPRIVILEGE_NAME_BLANK";

	/**
	 * 权限resource不能为空
	 */
	public static final String SYSTEMPRIVILEGE_RESOURCE_BLANK = "SYSTEMPRIVILEGE_RESOURCE_BLANK";

	/**
	 * 权限action不能为空
	 */
	public static final String SYSTEMPRIVILEGE_ACTION_BLANK = "SYSTEMPRIVILEGE_ACTION_BLANK";
	
	public static final String PASSWORD_NOT_PASSWORD2 = "PASSWORD_NOT_PASSWORD2";
	
	public static final Integer COOKIE_DAY = 7;
	
	public static final String SELECT_WEIBO_SINA = "SELECT_WEIBO_SINA";
	
	/**
	 * 系统用户
	 */
	public static final String SYS_USER_SESSION = "SYS_USER_SESSION";
	/**
	 * 系统模块菜单
	 */
	public static final String SYS_MODULE_MEUN_SESSION = "SYS_MODULE_MEUN_SESSION";
	
	/**
	 * 系统模块权限
	 */
	public static final String SYS_MODULE_AUTHORITY_SESSION = "SYS_MODULE_AUTHORITY_SESSION";
	
	/**
	 * 系统用户权限
	 */
	public static final String SYS_USER_AUTHORITY_SESSION = "SYS_USER_AUTHORITY_SESSION";

}
